package com.study.post.filter.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : wilbur.yuan
 * @date : 2019-02-18
 */
@RestController
@RequestMapping("/users")
public class UserController {

    @PostMapping
    public Object add(@RequestBody User user){
        return user;
    }

}
